<HTML
><HEAD
><TITLE
>GrNewRegion()</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.61
"><LINK
REL="HOME"
TITLE="Nano-X Library API"
HREF="index.html"><LINK
REL="UP"
TITLE="Nano-X Function Reference"
HREF="ch2.html"><LINK
REL="PREVIOUS"
TITLE="GrNewPolygonRegion()"
HREF="nxapi_GrNewPolygonRegion.html"><LINK
REL="NEXT"
TITLE="GrNewWindow()"
HREF="nxapi_GrNewWindow.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Nano-X Library API</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="nxapi_GrNewPolygonRegion.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="nxapi_GrNewWindow.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="NXAPI.GRNEWREGION"
><TT
CLASS="FUNCTION"
>GrNewRegion()</TT
></A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN5071"
></A
><H2
>Name</H2
><TT
CLASS="FUNCTION"
>GrNewRegion()</TT
>&nbsp;--&nbsp;Create a new region</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN5075"
></A
><H2
>Synopsis</H2
><DIV
CLASS="FUNCSYNOPSIS"
><A
NAME="AEN5076"
></A
><P
></P
><P
><CODE
><CODE
CLASS="FUNCDEF"
>  GR_REGION_ID       <B
CLASS="FSFUNC"
>  GrNewRegion           </B
></CODE
>(void);</CODE
></P
><P
></P
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN5081"
></A
><H2
>Description</H2
><P
>    This function creates a new region and returns the ID of the
    newly created region. The new region is created empty, i.e. the
    region has no width or height.
    </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN5084"
></A
><H2
>Returns</H2
><P
>     The ID of the newly created region.
    </P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN5087"
></A
><H2
>See Also</H2
><P
>      <A
HREF="nxapi_GrNewPolygonRegion.html"
>            <TT
CLASS="FUNCTION"
>GrNewPolygonRegion()</TT
></A
>, 
      <A
HREF="nxapi_GrDestroyRegion.html"
>            <TT
CLASS="FUNCTION"
>GrDestroyRegion()</TT
></A
>, 
      <A
HREF="nxapi.region.html"
>            Region Functions</A
>.
    </P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="nxapi_GrNewPolygonRegion.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="nxapi_GrNewWindow.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><TT
CLASS="FUNCTION"
>GrNewPolygonRegion()</TT
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ch2.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><TT
CLASS="FUNCTION"
>GrNewWindow()</TT
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>